package com.hsteach.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 场所进行状态
 * 0待开始、1进行中、2已结束、-2已取消、-1已拒绝
 */
@Getter
@AllArgsConstructor
public enum BuildStatusEnum {

    CANCEL(-2, "已取消"),
    REJECT(-1, "已拒绝"),
    START(0, "待开始"),
    DOING(1, "进行中"),
    END(2, "已结束"),
    ;

    private Integer code;
    private String name;
}
